//
//  Arraay+MG.swift
//  MGExtensionsKit
//
//  Created by TSYH on 2023/8/17.
//

import Foundation

public extension Array {
    func object(at index: Int) -> Element? {
        guard index < count else {
            return nil
        }
        return self[index]
    }
}
